<include file="Public/head"/>
<link type="text/css" rel="stylesheet" href="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.css" />
<script src="{:get_style_cdnurl()}paimai/yunying/plugin/select2/select2.js" type="text/javascript"></script>
<script src="http://img1.isou365.cn/paimai/yunying/js/city.js" type="text/javascript"></script>
<style>
    .xuanzhe {margin-top: 0px;}
    .xuanzhe ul li{margin-bottom: 5px;}
    .xuanzhe ul li span {text-align: left;}
    .xuanzhe ul li .menDao1{width:300px;}
    .xuanzhe ul li .menDao1 a{display:block;background:#cecece;color:#303030;float:left;width:36px; text-align:center;height:20px; line-height:20px; cursor:pointer;}
    .xuanzhe ul li .menDao1 .menHover{ background:#20ab4f;color:#fff;}
    .xuanzhe .lift-truck{width:280px;padding:10px;display:block; background:#e1e1e1;border-radius:5px;margin-left:60px;margin-top:-10px;}
    .xuanzhe .lift-truck #taker_phone,.xuanzhe .lift-truck #taker_sex,.xuanzhe .lift-truck #taker_card,.xuanzhe .lift-truck #take_car_num{width:280px; display:block;height:30px; line-height:30px; text-align:left;}
    .xuanzhe .lift-truck span em{float:left; display:block;width:60px; text-align:right;}
    .yt_total{height:50px;line-height: 50px;width: 60%;border-top:1px solid #ccc;margin: 3% 0 0 3%;text-align:left;}
    .remarks{width: 100%;height: auto; margin-top: 20px; }
    .remarks span{display: block;width: 90px;float: left;line-height: 65px;font-size:14px;}
    .remarks textarea{border: 1px solid #c8c8c8;  float: left;  height: 65px;  padding: 5px;  resize: none;  width: 745px;}
    .chezhu-xinxi table tr td{height:30px;text-align:left;font-size:12px;padding-left:10px;}
    .negotiation{width:915px;display: block;border:solid 1px #ccc;margin:15px 0 10px 10px;padding:20px 20px 0 20px; position: relative;}
    .negotiation2{margin:10px 0 0 30px;padding:20px 20px 50px 20px; position: relative;}
    .negotiation h4{ position: absolute;color:#20ab4f;top:-15px;left:30px;font-size:14px;width:90px; text-align:center;display: block;height: 30px; line-height: 30px; background:#fff;}
    .negotiation span,.negotiation2 span{ display: block;float: left;height:28px; line-height: 28px;margin-right:30px;color:#333;}
    .negotiation span input{ text-align: center;height:26px; line-height: 26px;width:180px;font-size:12px;}
    .negotiation span i{ display: inline-block;padding-right:10px;}
    .negotiation em{height:50px; line-height: 50px; text-align: left;width:760px; display: block;color:#333;}
</style>
<include file="Public/common_header"/>
<div class="mian">
    <include file="Public/sidebar" menu="pmgl.sfcs"/>
    <div class="mianR">
        <h3 class="yonghu"> 基本信息</h3>
        <div class="chezhu-xinxi">
            <div class="xinxi-conter xinxi-conter1" style="background: none;border: none">
                <h4 class="order_no">拍卖单号：<b>{$detail.order_no}</b></h4>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车商信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车主类型</em><em class="name-text">{$detail.owner_type_name}</em>
                        <if condition="$detail.owner_type eq 1">
                            <em>车主姓名</em><em class="name-text">{$detail.seller_name}</em>
                            <else />
                            <em>公司名称</em><em class="name-text">{$detail.seller_name}</em>
                        </if>
                    </li>
                    <li class="clearfix">
                        <if condition="$detail.owner_type eq 1">
                            <em>联系电话</em><em class="name-text">{$detail.phone}</em>
                            <else />
                            <em>联系人姓名</em><em class="name-text">{$detail.contact_person}</em>
                            <em>联系电话</em><em class="name-text">{$detail.phone}</em>
                        </if>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车辆信息（第{$detail.au_times}次拍卖）
                    <a href="/Car/report/car_id/{$detail.car_id}" target="_blank">
                        <span style="float:right;padding-right: 10%;color:#20ab4f;">检测报告</span>
                    </a>
                </h4>
                <ul>
                    <li class="clearfix">
                        <em>车型</em><em class="name-text">{$detail.model}</em>
                        <em>排放标准</em><em class="dian-hua">{$detail.emission}</em>
                    </li>

                    <li class="clearfix">
                        <em>初登日期</em><em class="name-text">{$detail.first_reg_date}</em>
                        <em>颜色</em><em class="dian-hua">{$detail.car_color}</em>
                    </li>
                    <li class="clearfix">
                        <em>表显里程</em><em class="name-text">{$detail.pointer_mileage}万公里</em>
                        <em>车况级别</em><em class="name-text">{$detail.composite_state}{$detail.accident_level}</em>
                    </li>
                    <li class="clearfix">
                        <em>车辆注册地</em><em class="name-text">{$detail.reg_city}</em>
                        <em>车架号</em><em class="name-text">{$detail.vin}</em>
                    </li>
                    <li class="clearfix">
                        <em>过户限制</em><em class="name-text">{$transfer_type[$car_detail['transfer_limit']]}</em>
                        <em>车牌号</em><em class="name-text">{$detail.plate_prefix}{$detail.plate_suffix}</em>
                    </li>
                    <li class="clearfix">
                        <em>渠道来源</em><em class="name-text">
                        <if condition="$car_detail.comefrom neq ''">
                            <?php if(empty($car_detail['comefrom_url'])):?>
                            <?php echo $show_from[$car_detail['comefrom']];?>
                            <?php else: ?>
                            <a href="{$car_detail.comefrom_url}" target="_blank" rel="noreferrer"><?php echo $show_from[$car_detail['comefrom']];?></a>
                            <?php endif;?>
                            <else/>
                            未知
                        </if>
                    </em>
                        <em>所在地</em><em class="name-text">{$detail.location_area_name}</em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>拍卖信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>竞拍结束时间</em><em class="name-text">{$detail.bidding_end_time}</em>
                        <em>
                            <if condition="$detail.consult_status eq 4">
                                拍卖最高价
                                <else />
                                第一名出价
                            </if>
                        </em>
                        <em class="name-text">{$detail.bidding_best_price}元</em>
                    </li>
                    <if condition="$status eq 3 OR $status eq 5">
                        <empty name="owner_remake_log">
                            <li class="clearfix">
                                <em>保留价</em>
                                <em class="name-text">{$detail.reserve_price}</em>
                                <em>过户限制</em>
                                <em class="name-text"><?php echo C('TRANSFER_LIMIT.'.$detail['transfer_limit']);?></em>
                            </li>
                        <else />
                            <li class="clearfix">
                                <em>原保留价</em>
                                <em class="name-text">{$detail.reserve_price}</em>
                                <em>原过户限制</em>
                                <em class="name-text"><?php echo C('TRANSFER_LIMIT.'.$owner_remake_log['last_transfer_limit']);?></em>
                            </li>
                            <li class="clearfix">
                                <em>现保留价</em>
                                <em class="name-text">
                                    <?=($owner_remake_log['reserve_price'] != $detail['reserve_price']) ? format_money($owner_remake_log['reserve_price']) : "不变";?>
                                </em>
                                <em>现过户限制</em>
                                <em class="name-text">
                                    <?=($owner_remake_log['transfer_limit'] != $owner_remake_log['last_transfer_limit']) ? C('TRANSFER_LIMIT.'.$owner_remake_log['transfer_limit']) : "不变";?>
                                </em>
                            </li>
                        </empty>
                        <elseif condition="$status eq 4"/>
                            <li class="clearfix">
                                <em>保留价</em><em class="name-text">{$detail.reserve_price}元</em>
                                <em>建议价</em><em class="name-text">{$detail.suggest_price}</em>
                            </li>
                    </if>
                </ul>
            </div>
            <br/>
            <if condition="$status eq 4">
                <div class="xinxi-conter xinxi-conter1">
                    <h4>磋商信息</h4>
                    <ul>
                        <li class="clearfix">
                            <em>第一名加价</em><em class="name-text">{$detail.consult_increase}元</em>
                            <em>公司补贴</em><em class="name-text">{$detail.company_subsidies}元</em>
                        </li>
                    </ul>
                </div>
                <if condition="$detail.car_source eq 1 and $detail.bank_account neq ''">
                    <br/>
                    <div class="xinxi-conter xinxi-conter1">
                        <h4>打款信息</h4>
                        <ul>
                            <li class="clearfix">
                                <em>开户银行</em>
                                <em class="name-text">{$detail.bank_name}</em>
                                <em>银行帐号</em>
                                <em class="name-text">{$detail.card_no}</em>
                            </li>
                            <li class="clearfix">
                                <em>账户名</em>
                                <em class="name-text">{$detail.account_name}</em>
                            </li>
                        </ul>
                    </div>
                </if>
                <br/>
                <div class="xinxi-conter xinxi-conter1">
                    <div class="negotiation negotiation1">
                        <h4>结算信息</h4>
                        <em>拍卖最高价（<i class="auction-price1">{$detail.success_price}</i>元）= 当前最高价（<i class="cuur-price1">{$detail.bidding_best_price_count}</i>元）+ 第一名加价（<i class="subsidy-price">{$detail.consult_increase}</i>元）</em>
                        <em>车主成交价（<i class="auction-price1">{$detail.owner_success_price}</i>元）= 拍卖最高价（<i class="cuur-price1">{$detail.success_price}</i>元）+ 公司补贴（<i class="subsidy-price">{$detail.company_subsidies}</i>元）</em>
                        <em>车商合手价（<i class="auction-price2">{$detail.dealer_success_price}</i>元）= 拍卖最高价（<i class="cuur-price2">{$detail.success_price}</i>元）+ 交易服务费（<i class="deal-price">{$detail.commision}</i>元）+  交付服务费（<i class="deliver-price">{$detail.transfer_fee}</i>元）</em>
                    </div>
                </div>
                <br/>
                <?php if($detail['car_source'] == 2):?>
                    <div class="xinxi-conter xinxi-conter1">
                        <h4>预约信息</h4>
                        <ul>
                            <li class="clearfix">
                                <em>预约时间</em><em class="name-text">{$detail.sign_reserve_time}</em>
                                <em>服务方式</em><em class="name-text">{$detail.service_method}</em>
                            </li>
                            <if condition="$detail.sign_service_method eq 3">
                                <li class="clearfix">
                                    <em>预约门店</em><em class="name-text" style="width: 875px">{$detail.reserve_store}</em>
                                </li>
                            <elseif condition="$detail.sign_service_method eq 2" />
                                <li class="clearfix">
                                    <em>预约地址</em><em class="name-text" style="width: 875px">{$detail.reserve_address}</em>
                                </li>
                            </if>
                            <li class="clearfix">
                                <em>磋商备注</em><em class="name-text" style="width: 875px">{$detail.consult_remark}</em>
                            </li>
                        </ul>
                    </div>
                <?php endif;?>
            </if>
        </div>
        <h3 class="yonghu">系统跟踪日志</h3>
        <div class="yonghuText">
            <ul>
                <volist name="consult_trace_log" id="log" key="k">
                    <li class="{$k%2==0?'xitongBg':''} clearfix">
                        <em class="huShi">{$log.createtime}</em>
                        <em>客服</em>
                        <em>{$log.emp_name}</em>
                        <em>{$log.action}</em>
                        <em class="huShi">{$log.result}</em>
                    </li>
                </volist>
            </ul>
        </div>

        <div class="yongBtn1">
            <input type="button"  class="quxiao" onclick="window.close()" value="关闭" />
        </div>
    </div>
    <div class="clear"></div>
</div>
<include file="Public/foot" />